from langchain_openai import OpenAI


def test():
    #
    llm = OpenAI(
        api_key="sk-VowKQBUMIkSND8WScNJtDLqf3FyqWHQ43LMVUXH1m6GZaopA",
        base_url="https://ai.nengyongai.cn/v1"
    )
    #
    text = "请用一句话描述人工智能的未来";

    #
    result = llm(text);
    print(result)
